package main

import "fmt"

func main() {
	sprintf := fmt.Sprintf("%[2]d %[1]d\n", 11, 22)
	fmt.Printf(sprintf)

	s := fmt.Sprintf("%[3]*.[2]*[1]f", 12.0, 2, 6)

	fmt.Printf(s)
}
